#!/usr/bin/python

from sklearn import svm

x= [[0,0], [1,1], [1,0]]
y = [0, 1, 1]

clf = svm.SVC()
clf.fit(x, y)
ret = clf.predict([2, 2])

print svm.__dict__

print ret